Replication files for "Crossing the Line: Evidence for the categorization theory of spatial voting"

Date: April 24th 2023

Programs: Stata 17 MP—Parallel Edition


I. Files and description:

1) Stata .do files to replicate results
	RP Britain Analysis.do (Replication code for British results in main paper)
	RP US Analysis.do (Replication code for US results in main paper)
	RP supplementary analysis.do (Replication code for results in Supplementary Information)

2) Stata .dta files with survey data (Supplementary Information provides survey dates and sampling methods)
	RP Britain data (British Stata data used in main paper)
	RP US data (US Stata data used in main paper)
	RP Britain Supp data (British Stata data used in Supplementary Information)
	RP US Supp data (US Stata data used in Supplementary Information)
	RP CandidateCategorization (US Stata data used in Supplementary Information)
	RP Britain data with parties (British Stata data used in Supplementary Information)
	RP Britain data without party A (British Stata data used in Supplementary Information)


II. Instructions:

To run the analysis in the paper: 1) save all files to the same folder; 2) insert the pathname of that folder where indicated in "RP Britain Analysis.do" and "RP US Analysis.do"; and 3) run "RP Britain Analysis.do" and "RP US Analysis.do".

To run the analysis in the Supplementary Information: 1) save all files to the same folder; 2) insert the pathname of that folder where indicated in "RP supplementary analysis.do"; and 3) run "RP supplementary analysis.do". 

